<%@ page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>修改页面</title>
<style>
* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
	width: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background: url(images/shar.jpg) no-repeat 0px 0px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	-moz-background-size: 100% 100%;
}

body {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

#loginDiv {
	width: 30%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 300px;
	background-color: rgba(75, 81, 95, 0.3);
	box-shadow: 7px 7px 17px rgba(52, 56, 66, 0.5);
	border-radius: 5px;
}

#name_trip {
	margin-left: 50px;
	color: red;
}

p, .sexDiv {
	margin-top: 10px;
	margin-left: 20px;
	color: azure;
}

input, select {
	margin-left: 15px;
	border-radius: 5px;
	border-style: hidden;
	height: 30px;
	width: 140px;
	background-color: rgba(216, 191, 216, 0.5);
	outline: none;
	color: #f0edf3;
	padding-left: 10px;
}

.button {
	border-color: cornsilk;
	background-color: rgba(100, 149, 237, .7);
	color: aliceblue;
	border-style: hidden;
	border-radius: 5px;
	width: 100px;
	height: 31px;
	font-size: 16px;
}

h1 {
	text-align: center;
	margin-bottom: 20px;
	margin-top: 20px;
	color: #f0edf3;
}

</style>
</head>

<body>
	<div id="loginDiv">
	
		<form action="${pageContext.request.contextPath }/toupdatePet.action" method="post">
		
			<h1>修改页面</h1>
			 <p>
				爱宠昵称:<input name="petname" type="text" autofocus required>
			</p>
			
			<p>
				爱宠介绍:<input name="pintroduce" type="text" autofocus required>
			</p>

			<p>
				爱宠靓图:<input name="ppic" type="text" autofocus required>
			</p>

			<p style="text-align: center;">
				<input type="submit" class="button" value="提交"> 
				<input type="reset"  class="button" value="重置">
			</p> 
		</form> 
		
	</div>
</body>
</html>